package org.demo.service;

/**
 * @author tuk
 * @Date 2025/5/27 上午11:30
 */
import org.demo.entity.User;
import org.demo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User queryById(Long id) {
        return userMapper.findById(id);
    }
}
